//
//  Login.m
//  mediamaster
//
//  Created by season02 on 15-9-13.
//  Copyright (c) 2015年 season02. All rights reserved.
//

#import "WechatEntity.h"

@implementation WechatEntity

@dynamic sex;

-(void)setUnionid:(NSString *)unionid
{
    _unionid = unionid;
    [super setUserId:unionid];
}

-(void)setSex:(int )sex
{
    if(sex == 1)
        [super setSex:@"male"];
    else// if([sex isEqualToString:@"0"])
        [super setSex:@"female"];
}

@end
